﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace EzDesk.Core.Model
{
    public partial class AppFunction
    {
        [DataMember]
        public string TargetUrl { get; set; }

        [DataMember]
        public string IconUrl { get; set; }
    }

    public class AppFunctionTypeComparint : IEqualityComparer<AppFunctionType>
    {

        public bool Equals(AppFunctionType x, AppFunctionType y)
        {
            return x.Id == y.Id;
        }

        public int GetHashCode(AppFunctionType obj)
        {
            return obj.Id.GetHashCode();
        }
    }
}